<?php

require_once 'Base.php';

/* Class article */

class Article extends Base
{
    private $_id;
    private $_user;
    private $_name;
    private $_description;
    private $_prix;
    private $_categorie;
    private $_ville;
    private $_couleur;


    // Constructeur
    public function __construct(array $data) {
        parent::__construct($data);
    }

    /**
     * @param mixed $categorie
     */
    public function setCategorie($categorie)
    {
        $this->_categorie = $categorie;
    }

    /**
     * @return mixed
     */
    public function getCategorie()
    {
        return $this->_categorie;
    }

    /**
     * @param mixed $description
     */
    public function setDescription($description)
    {
        $this->_description = $description;
    }

    /**
     * @return mixed
     */
    public function getDescription()
    {
        return $this->_description;
    }

    /**
     * @param mixed $id
     */
    public function setId($id)
    {
        $this->_id = $id;
    }

    /**
     * @return mixed
     */
    public function getId()
    {
        return $this->_id;
    }

    /**
     * @param mixed $ville
     */
    public function setVille($ville)
    {
        $this->_ville = $ville;
    }

    /**
     * @return mixed
     */
    public function getVille()
    {
        return $this->_ville;
    }



    /**
     * @param mixed $name
     */
    public function setName($name)
    {
        $this->_name = $name;
    }

    /**
     * @return mixed
     */
    public function getName()
    {
        return $this->_name;
    }

    /**
     * @param mixed $prix
     */
    public function setPrix($prix)
    {
        $this->_prix = $prix;
    }

    /**
     * @return mixed
     */
    public function getPrix()
    {
        return $this->_prix;
    }
    
     /**
     * @param mixed $user
     */
    public function setUser($user)
    {
        $this->_user = $user;
    }

    /**
     * @return mixed
     */
    public function getUser()
    {
        return $this->_user;
    }
    
         /**
     * @param mixed $user
     */
    public function setCouleur($c)
    {
        $this->_couleur = $c;
    }

    /**
     * @return mixed
     */
    public function getCouleur()
    {
        return $this->_couleur;
    }
}
?>
